package Model;

public class Boxel {

    private Pixel _texture[][];
    private int _width = -1, _height = -1;

    public Boxel(Pixel texture[][], int width, int height) {
        _texture = texture;
        _width = width;
        _height = height;
    }

    public Boxel() {}

    public Pixel[][] get_texture() {
        return _texture;
    }

    public void set_texture(Pixel texture[][]) {
        _texture = texture;
    }

    public boolean isEmpty() {
        if(_texture == null ||_width == -1 || _height == -1){
            return true;
        }else{
            return false;
        }
    }

    public int get_width() {
        return _width;
    }

    public int get_height() {
        return _height;
    }

    public void set_width(int width) {
        _width = width;
    }

    public void set_height(int height) {
        _height = height;
    }
}
